package erp.server.resource.service;

import erp.server.resource.pojo.dto.ResourceDTO;
import erp.server.resource.pojo.vo.ResourceDetailVO;
import erp.server.resource.pojo.vo.ResourceIndexVO;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ResourceService {
    void addNew(ResourceDTO ResourceDTO);

    List<ResourceIndexVO> listForIndex();

    List<ResourceIndexVO> listForIndexByOrgId(Long userId);

    void deleteById(Long id);

    ResourceDetailVO detailById(Long id);
}
